package com.cby.ssm.dao;

import com.cby.common.AbstractDao;
import com.cby.ssm.entity.User_RoleEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 13296 on 2017/7/22.
 */
public interface User_RoleDao extends AbstractDao<User_RoleEntity> {
    List<User_RoleEntity> selectAllUser_Role()throws Exception;
    List<User_RoleEntity> selectAllUserByRoleId(@Param("key") String roleId)throws Exception;
    List<User_RoleEntity> selectAllRoleByUserId(@Param("key") String userId)throws Exception;
}

